home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / hardware / envexp.txt < prev    next >
Text File  |  1990-03-09  |  1KB  |  46 lines

  1.               EXPANDING THE DOS ENVIRONMENT
  2.  
  3. The DOS environment is an area in memory where DOS keeps track of
  4. various information, including prompts, path statements, and the
  5. COMSPEC (COMSPEC tells DOS where to find Command.com when it needs
  6. to be re-loaded into memory).  This space can also be used to store
  7. user-defined variables using the SET command.
  8.  
  9. The default environment size is as follows:
  10.  
  11.   DOS 3.1 & 3.2 - 128 bytes
  12.   DOS 3.3       - 168 bytes
  13.  
  14. To Increase the size, add the following line to your CONFIG.SYS
  15. file:
  16.  
  17.   SHELL=d:\path\COMMAND.COM /E:size  /P
  18.  
  19.  
  20. Where:
  21.  
  22.   d:\path\COMMAND.COM  is the location & name of the command
  23.                        interpreter
  24.   /P                   ensures that COMMAND.COM stays loaded
  25.   /E:size              is the size of the environment
  26.  
  27. The size is equal to:
  28.  
  29.    DOS 3.1 - The number of bytes you want divided by 16 and rounded
  30.              up.
  31.    DOS 3.2 & UP - The number of bytes you want, 32K maximum.
  32.  
  33. For example, the following line in your CONFIG.SYS file for DOS
  34. 3.3:
  35.  
  36.    SHELL=C:\COMMAND.COM /E:1024 /P
  37.  
  38. Would expand the environment from the default of 168 bytes to 1024
  39. bytes.
  40.  
  41. Uploaded by:
  42.  
  43.   Patrick H. Corrigan
  44.   The Corrigan Group
  45.   75170,146
  46.   3/9/90